<script lang="tsx">
import { defineComponent } from "vue";

export default defineComponent({
  name: 'RenderBox',
  props: {
    renderFun: { type: Function, default: ()  => {
      return () => <div>无内容</div>
    }}
  },
  render(context) {
    return this.renderFun(this.$attrs, context)
  }
})
</script>
